package com.dai.chun.dao.dao;

import java.sql.SQLException;
import java.util.List;

import com.dai.chun.dao.model.Department;
import com.dai.chun.util.PageSplitUtil;

public interface DepartmentDao {

	Boolean save(Department department) throws SQLException;

	List<Department> listDepartment(PageSplitUtil psu);

	int updateDepartment(Department department) throws SQLException;

	int findAllCount() throws SQLException;

	int delDepartment(int dept_id) throws SQLException;

	Department findDepartmentById(int dept_id);

}
